.select_helper_history.tr-chips-size-small .t-chip .q-chip__content {
  font-size: 14px !important;
}
.q-dialog__inner > .queryplanContent_m {
  background: rgb(240, 242, 245);
  height: var(--t-client-height-p) !important;
  overflow: hidden;
  .tr-filter .filter-groups-item-panel {
    max-height: 100vh;
  }
  .tr-filter .filter-group {
    line-height: 18px !important;
  }
  .subwarning_foot {
    padding: 8px 16px !important;
    display: flex;
    justify-content: end;
    gap: 12px;

    button {
      height: 40px !important;
    }
  }

  .q-tab-panel {
    padding-top: 16px;
  }

  p {
    margin: 0;
  }

  .q-field--with-bottom {
    padding: 0;
  }

  header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    height: 40px;
    position: relative;
    background: #fff;

    i {
      font-size: 14px;
      float: left;
      margin-left: 16px;
      position: fixed;
      left: 0px;
      top: 13px;
    }

    span {
      // font-weight: 600;
      color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/ 0.9));
      font-size: 16px;
      line-height: 28px;
      max-width: calc(100vw - 80px);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 600;
      display: flex;
      align-items: center;
    }

    .submit {
      float: right;
      position: fixed;
      right: 16px;
      font-size: 14px;
      font-weight: 400;
      color: var(--q-primary);
    }
  }

  .currentpaln {
    padding: 16px 16px 8px 16px;
    background: #fff;
    display: flex;
    justify-content: start;
    font-size: 14px;
    // margin-bottom: 1px;
    gap: 8px;
    align-items: center;
    .title {
      font-weight: 500;
      gap: 8px;
      display: flex;
      align-items: center;
      color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/ 0.9));
    }

    .planName {
      font-weight: 400;
      color: var(--t-color);
    }
    .q-badge--floating {
      position: absolute;
      top: -2px;
      right: 6px;
      cursor: inherit;
    }
    .q-badge {
      background-color: var(--q-primary);
      color: #fff;
      padding: 2px 4px;
      border-radius: 4px;
      font-size: 8px;
      line-height: 8px;
      min-height: 8px;
      font-weight: 400;
      vertical-align: baseline;
      /* margin-left: -12px; */
    }
  }

  .planManager {
    .tr-input-search .q-field--dense .q-field__inner .q-field__control {
      height: 40px;
      div,
      input {
        background-color: transparent;
        color: rgba(
          0,
          0,
          0,
          var(
            --t-color-opacity,
            /*批量处理透明度,将80%替换为--t-color-opacity*/ 0.8
          )
        );
      }
    }
    padding: 0 0px;
    background: #fff;
    // height: calc(100vh - 102px);
    overflow: hidden;

    .q-panel.scroll {
      overflow-x: hidden;
    }

    .FilterContent {
      height: calc(
        var(--t-client-height-p) - var(--queryplan-dialog-top) + 4px - 198px
      ) !important;
      display: flex;
      flex-direction: column;
    }

    .filterContent {
      width: 100%;
      // margin: 0 0 20px 0;
      padding: 0px 16px !important;
      overflow: auto;
      flex: 1 1 auto;

      .tr-filter {
        .filter-group {
          height: auto;
        }

        .filter-relation.filter-relation-or:hover {
          background-color: #cdf0e8 !important;
          color: #606266 !important;
        }

        .filter-relation.filter-relation-and:hover {
          background-color: #fff1dd !important;
          color: #606266 !important;
        }

        .filter-value:hover {
          background-color: #fff;
          color: rgba(
            0,
            0,
            0,
            var(--t-color-opacity, /*批量处理90%透明度*/ 0.9)
          ) !important;
        }

        .filter-name:hover {
          background-color: #fff;
          color: rgba(
            0,
            0,
            0,
            var(--t-color-opacity, /*批量处理90%透明度*/ 0.9)
          ) !important;
        }

        .filter-condition:hover {
          background-color: #fff;
          color: rgba(
            0,
            0,
            0,
            var(--t-color-opacity, /*批量处理90%透明度*/ 0.9)
          ) !important;
        }
      }

      .queryplan_m_filter_group {
        & > div {
          margin-bottom: 21px;

          .tr-input-default {
            margin-top: 0 !important;
          }
          .tr-input-default .q-field--dense .q-field__inner .q-field__control {
            border: 0 !important;
          }
          & > .tm-cell {
            padding: 0;
            border: 1px solid rgb(240, 242, 245);

            input {
              text-indent: 10px;
              padding: 4px 0;
              border-radius: 4px;
            }
          }

          & > .date-time-picker > .tm-cell {
            // padding: 0;
            padding: 4px 10px;
            border: 1px solid rgb(240, 242, 245);
          }

          & > div {
            & > .tm-cell {
              padding: 0;
              border: 1px solid rgb(240, 242, 245);

              input {
                text-indent: 10px;
                padding: 4px 0;
                // border: 1px solid rgb(240, 242, 245);
                border-radius: 4px;
              }
            }
          }
        }
      }

      & > div {
        // margin-bottom: 21px;

        .tr-input-default {
          margin-top: 0 !important;
        }

        & > .tm-cell {
          padding: 0;
          border: 1px solid rgb(240, 242, 245);

          input {
            text-indent: 10px;
            padding: 4px 0;
            border-radius: 4px;
          }
        }

        & > .date-time-picker > .tm-cell {
          // padding: 0;
          padding: 4px 10px;
          border: 1px solid rgb(240, 242, 245);
        }

        & > div {
          & > .tm-cell {
            padding: 0;
            border: 1px solid rgb(240, 242, 245);

            input {
              text-indent: 10px;
              padding: 4px 0;
              // border: 1px solid rgb(240, 242, 245);
              border-radius: 4px;
            }
          }
        }
      }

      .header {
        // padding: 16px 0 4px 0;
        padding: 0;
        margin: 0;
        line-height: 1.5;
        color: rgba(0, 0, 0, 0.56);
        font-size: 14px;
      }

      .tm-tabs.tm-tabs--line {
        display: flex;
        flex-direction: column;

        .tm-tabs__content {
          overflow: auto;
          flex: 1 1 auto;

          .tm-tab__panel {
            & > div {
              & > .tm-cell {
                padding: 0;
                border: 1px solid rgb(240, 242, 245);

                input {
                  text-indent: 10px;
                  padding: 4px 0;
                  border-radius: 4px;
                }
              }

              & > .date-time-picker > .tm-cell {
                // padding: 0;
                padding: 4px 10px;
                border: 1px solid rgb(240, 242, 245);
              }

              & > div {
                & > .tm-cell {
                  padding: 0;
                  border: 1px solid rgb(240, 242, 245);

                  input {
                    text-indent: 10px;
                    padding: 4px 0;
                    // border: 1px solid rgb(240, 242, 245);
                    border-radius: 4px;
                  }
                }
              }
            }
          }
        }
      }
    }

    .search {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .searchInput {
        flex: 1 1 auto;
        padding-left: 0;
      }

      .sort {
        font-size: 20px;
      }
    }

    .planList {
      height: calc(var(--t-client-height-p) - 220px);
      overflow: auto;
      position: relative;
      left: -20px;
      right: -20px;
      width: calc(100% + 40px);
      padding: 12px 16px 0 16px;

      .plan {
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        span {
          display: inline-block;
          font-size: 14px;
          margin-left: 0px;
        }

        p {
          display: flex;
          align-items: center;
          gap: 6px;
        }

        .planType {
          // margin-right: 6px;
          margin-left: 0;
          border-radius: 50%;
          border: 1px solid #000;
          /* padding: 4px; */
          transform: scale(1);
          font-size: 12px;
          width: 24px;
          height: 24px;
          display: flex;
          text-align: center;
          align-items: center;
          padding-left: 0px;
        }

        .planName {
          display: inline-block;
          margin-left: 0;
          white-space: nowrap;
          /* 确保所有文本都在同一行 */
          overflow: hidden;
          /* 隐藏超出元素宽度的内容 */
          text-overflow: ellipsis;
          /* 当文本溢出时显示省略号 */
        }
      }

      .tm-cell {
        padding-left: 0;
        padding-top: 0;
        padding-bottom: 0;
      }
    }

    .filterManger {
      .bottom {
        width: calc(100% - 32px);
        margin-left: 16px;
      }
    }

    .bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 12px;
      margin-bottom: 12px;
      gap: 8px;

      .tm-button::before {
        // background: var(--tm-primary-color);
      }

      .cancel {
        width: 30%;
        text-align: center;
        color: var(--tm-primary-color); //var(--tm-primary-color);;
      }
    }
  }

  .filterPreview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px 0px 16px;

    span {
      padding-left: 16px;
      color: rgba(0, 0, 0, 0.56);
      display: inline-block;
    }

    .currentPlan {
      display: flex;
      align-items: center;
      // padding-top:12px;
      span {
        padding-left: 0;
      }

      .numberTag {
        border-radius: 50%;
        background-color: red;
        color: #fff;
        text-align: center;
        padding: 0;
        width: 16px;
        height: 16px;
        display: inline-block;
        font-size: 12px;
        line-height: 16px;
        transform: scale(0.9);
        margin-left: 6px;
      }
    }

    .operate {
      font-size: 12px;
    }
  }

  .filterPreviewContent {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    padding: 0 16px;
    padding-bottom: 6px;

    span {
      margin-right: 10px;
      border-radius: 4px;
      background-color: #f0f2f5;
      padding: 0px 4px;
      margin-bottom: 6px;
      height: 24px;
      line-height: 24px;
      display: flex;
      gap: 6px;
      align-items: center;

      i {
        font-style: normal;
        font-size: 12px;
        margin-right: 0px;
        color: rgba(0, 0, 0, 0.56);
        flex: none;
      }

      .value {
        font-weight: 600;
        color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/ 0.9));
        flex: 1 1 auto;
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }

  .line {
    height: 1px;
    padding: 0;
    margin: 0;
    background: rgb(240, 242, 245);
    position: relative;
    left: -20px;
    height: -20px;
    width: calc(100% + 40px);
    margin-top: 0px;
  }

  .subCondition {
    margin-top: 0;
    min-width: 150px;
    // margin-top: 21px !important;
    margin-bottom: 0;

    p {
      margin: 0;
    }

    .tm-select__content {
      height: 280px;
    }

    i {
      margin-left: 4px;
    }
  }

  .subConditionDataNumber {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 8px;
    gap: 8px;

    .tr-input-default {
      margin-top: 21px;
    }

    .tr-select-enterform {
      margin-top: 24px;
    }

    textarea {
      height: 150px;
    }
  }

  .q-checkbox__label.q-anchor--skip {
    text-wrap: wrap;
    text-align: left;
    color: #0000008f;
    font-size: 12px;
  }
}

.queryplanContent_m {
  .queryplanContent_m {
    transform: translate(0);
  }

  .planManager {
    padding: 0 !important;
    padding-top: 12px;
  }

  .tr-input-default {
    margin-top: 21px;
  }

  .search {
    .tr-input-default {
      margin-top: 0px;
    }
  }
}

.defaultPlanPopover {
  .tm-popover__action {
    justify-content: start;
    height: 32px;
  }

  .tm-popover__action-text {
    font-size: 14px;
    text-align: left;
    width: 100%;
    justify-content: start;
    height: 32px;
    padding: 0 16px;
  }
}

.filter_contion_popover {
  .tm-popover__action {
    justify-content: start;
    height: 32px;
  }

  .tm-popover__action-text {
    font-size: 12px;
    text-align: left;
    width: 100%;
    justify-content: start;
    height: 32px;
    padding: 0 16px;
  }
}

// .select:before {
//   content: '';
//   position: absolute;
//   right: 0;
//   bottom: 0;
//   border: 9px solid #5999fc;
//   border-top-color: transparent;
//   border-left-color: transparent;
// }

.s_type {
  border: none;
  border-radius: 5px;
  background-color: #f3f3f3;
  padding: 7px 0;
  color: #606266;
  margin: 5px 2.5% 5px 0;
  width: 30%;
  position: relative;
}

.selecd {
  background-color: #ebf3ff;
  color: #5999fc;
}

.select {
  background-color: #ebf3ff;
  color: #5999fc;
}

// .select:before {
//   content: '';
//   position: absolute;
//   right: 0;
//   bottom: 0;
//   border: 9px solid #5999fc;
//   border-top-color: transparent;
//   border-left-color: transparent;
// }

.subwarning_basicInfo_m {
  height: calc(80vh - 202px);
  overflow: auto;
  .cell {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: var(--tm-cell-vertical-padding) var(--tm-cell-horizontal-padding);
    overflow: hidden;
    color: var(--tm-cell-text-color);
    font-size: var(--tm-cell-font-size);
    line-height: var(--tm-cell-line-height);
    background: var(--tm-cell-background);
    padding-bottom: 0;
    padding-top: 24px;
    .cell_value {
      position: relative;
      overflow: hidden;
      color: var(--tm-cell-value-color);
      font-size: var(--tm-cell-value-font-size);
      text-align: right;
      vertical-align: middle;
      word-wrap: break-word;
      flex: 1;
      &.cell_list {
        height: 38px;
        line-height: 38px;
      }
    }
  }
  .subwarning-q-stepper {
    margin-bottom: 0 !important;
  }

  .q-checkbox {
    margin-top: 21px;

    .no-outline {
      display: none;
    }
  }

  .tm-field__right-icon {
    > div {
      display: flex;
      align-items: center;
    }
  }

  p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;

    span {
      display: block;
      width: 100%;
    }

    // input {
    //   width: 100%;
    //   margin-top: 8px;
    //   text-indent: 10px;
    //   // padding: 4px 0;
    //   border-radius: 4px;
    //   border: 1px solid rgb(204, 204, 204);
    //   line-height: 26px;
    // }
  }

  .subCondition {
    width: 100%;

    > .tm-cell {
      width: 100%;
      border: 1px solid #cccccc;
      padding: 0;
      border-radius: 4px;
      height: 30px;
      line-height: 30px;
      display: flex;
      align-items: center;
    }

    .tm-field__control {
      border: 0;
    }

    .tm-select__content {
      height: 300px;
    }

    input {
      margin: 0;
    }

    .tm-icon.tm-icon-arrow {
      margin-right: 10px;
    }
  }

  .subList {
    .tm-cell {
      padding-bottom: 0;
      padding-top: 24px;
    }

    p {
      display: flex;
      justify-content: space-around;
      margin: 0;
      padding: 0px;
      line-height: 1.5;

      span {
        display: inline-block;
        width: 50px;
        text-align: left;
        color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/ 0.9));
      }

      span:nth-child(2) {
        width: calc(50% - 50px);
      }

      span:nth-child(3) {
        width: calc(50% - 50px);
      }
    }
  }

  .subList.readonly {
    p {
      span {
        color: #64666b;
      }
    }
  }
}

.subwarning_basicInfo_m_height_Auto {
  height: auto !important;
}

// @media screen and (max-width: 767px) {
//   .planManager .tr-input-default .t-input .q-field__control .q-field__prepend {
//     height: 30px;
//   }

//   .planManager .tr-input-default .t-input .q-field__control .q-field__prepend {
//     height: 30px;
//   }

//   .planManager .tr-input-default .t-input .q-field__control {
//     height: 30px;
//   }
//   .planManager .tr-input-default .t-input .q-field__control .q-field__append {
//     height: 30px;
//   }
// }
.planManager .FilterContent .q-field__native,
.planManager .FilterContent .select_helper_input_inner {
  text-align: right;
  display: flex;
  justify-content: end;
}
.planManager .FilterContent ._between_center .q-field__native,
.planManager .FilterContent ._between_center .select_helper_input_inner {
  text-align: center;
}
.planManager
  .tr-input-default
  .q-field--dense
  .q-field__inner
  .q-field__control {
  border: 0 !important;
}
.planManager .tr-input-form .t-input,
.planManager .tr-input-editform .q-field__control {
  border: 0 !important;
}
.planManager .tr-select-small .q-field__input {
  text-align: right;
}
// .q-icon{
//   font-size:14px
// }
.plan_rename_m .input-title {
  min-width: 0px;
}

.filter-group .filter-group {
  border-color: #fff;
}

.filter-group .filter-group .filter-group {
  border-color: #fff;
}

.filter-group:hover {
  border-color: #ff9540;
}

.filter-group:hover .filter-relation-first {
  /* display: initial; */
}

.filter-group .filter-group:hover {
  border-color: #4dc238;
}

.filter-group .filter-group .filter-group:hover {
  border-color: #0078d4;
}

.filter-list::before {
  content: '(';
  font-size: 16px;
  color: #ff9540;
  /* font-weight: bold; */
}

.filter-list::after {
  content: ')';
  font-size: 16px;
  color: #ff9540;
  /* font-weight: bold; */
}

.filter-group:hover .filter-list::before {
  color: #ff9540;
  /* color: #606266; */
}

.filter-group:hover .filter-list::after {
  color: #ff9540;
  /* color: #606266; */
}

.filter-group .filter-group .filter-list::before {
  color: #4dc238;
  /* color: #606266; */
}

.filter-group .filter-group .filter-list::after {
  color: #4dc238;
  /* color: #606266; */
}

.filter-group:hover .filter-group .filter-list::before {
  color: #4dc238;
  /* color: #606266; */
}

.filter-group:hover .filter-group .filter-list::after {
  color: #4dc238;
  /* color: #606266; */
}

.filter-group .filter-group .filter-group .filter-list::before {
  color: #0078d4;
  /* color: #606266; */
}

.filter-group .filter-group .filter-group .filter-list::after {
  color: #0078d4;
  /* color: #606266; */
}

.filter-group:hover .filter-group .filter-group .filter-list::before {
  color: #0078d4;
  /* color: #606266; */
}

.filter-group:hover .filter-group .filter-group .filter-list::after {
  color: #0078d4;
  /* color: #606266; */
}

.padding_top_18 {
  padding-top: 18px !important;
}

.select_helper_popup_m {
  z-index: 1000 !important;

  .q-card__section--vert {
    padding: 0 16px !important;
  }

  .tr-input-default {
    margin-top: 21px;
  }

  .tr-toggle-big {
    margin-top: 21px;
  }

  .tr-select-enterform {
    margin-top: 21px;
  }
}
.queryplanmanage > div:nth-last-child(1) {
  top: var(--queryplan-dialog-top);
  background: transparent;
}
.select_helper_popup_m .q-dialog__backdrop.fixed-full {
  // background: transparent !important;
}
.plan_content_mobile {
  display: flex;
  // justify-content: space-around;
  align-items: center;
  gap: 12px;
  // max-width: calc(100vw - 60px);
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  padding-right: 4px;
  height: 32px;
}
.plan_content_mobile_content {
  flex: 1 1 auto;
  overflow-x: auto;
  // max-width: calc(100vw - 60px);
  position: relative;
}
.has-scrollbar.plan_content_mobile_content::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 6px;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(252, 252, 252, 0) 0%, #e2e2e2 100%);
}
.plan_content_mobile span {
  color: rgba(
    0,
    0,
    0,
    var(--t-color-opacity, /*批量处理透明度,将80%替换为--t-color-opacity*/ 0.8)
  );
}
.plan_content_mobile::-webkit-scrollbar {
  display: none;
}
.queryplan_search.q-field--dense .q-field__after,
.queryplan_search.q-field--dense .q-field__append {
  padding-left: 6px !important;
}
// .querypaln_fun_tabs .q-tabs__content .q-tab:first-child{
//   justify-content: left;
// }
// .querypaln_fun_tabs .q-tabs__content .q-tab:last-child{
//   justify-content: right;
// }
.querypaln_fun_tabs .q-tabs__content .q-tab {
  padding: 0 10px !important;
}
.querypaln_fun_tabs .q-tabs__content {
  padding: 0 4px;
  flex: none !important;
}
.querypaln_fun_tabs .q-tabs__content .q-tab > span {
  display: none !important;
}

// ._between .date-time-picker{
//   display: none;
// }
.planManager
  .filterManger
  .FilterContent
  .select_helper_input
  .q-field__prepend
  > span {
  direction: rtl;
  .select_helper_tag {
    direction: ltr;
  }
  input {
    direction: ltr;
  }
}
.select_helper_popup_m {
  .planManager
    .filterManger
    .FilterContent
    .select_helper_input
    .q-field__prepend
    > span {
    direction: ltr;
  }
}
@media screen and (max-width: 767px) {
  .planManager .filterManger .FilterContent .tr-input-form .q-field--focused {
    border-bottom: 0px solid var(--t-color) !important;
  }
  .q-menu .q-item {
    min-height: 40px;
    color: rgba(0, 0, 0, var(--t-color-opacity, /*批量处理90%透明度*/ 0.9));
  }
}

.quickItemsUl li {
  border-radius: 4px;
  min-width: 60px;
  padding: 8px 0;
  text-align: center;
  background-color: #f0f2f5;
  flex-grow: 1;
  color: rgba(0, 0, 0, 0.8);
  &.active span {
    color: var(--t-color);
    font-weight: 500;
  }
}
.quickItemsActive {
  color: var(--t-color)!important;
  font-weight: 500;
}
